package one.stand.service;

import cn.hutool.core.date.DateUtil;
import one.stand.model.SecurityAuth;

import java.util.Date;
import java.util.List;

public interface SecurityAuthService {
    Date DEFAULT_START_TIME = DateUtil.parse("2020-01-01 00:01:00");
    Date DEFAULT_END_TIME = DateUtil.parse("2038-01-19 11:14:07");

    void save(SecurityAuth securityAuth);

    List<SecurityAuth> getList(Integer type, Integer typeId);

    SecurityAuth get(Integer type, Integer typeId, Integer typeAuth);
}
